package com.ml.util;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.ml.entity.ExSymbol;
import com.ml.model.Symbol;

import java.util.List;

@Mapper(componentModel = "spring")
public interface DataMapper {

    DataMapper INSTANCE = Mappers.getMapper(DataMapper.class);

    List<Symbol> exSymbolsToSymbols(List<ExSymbol> exSymbols);
    
//    AdminVO admin2vo(Admin admin);
//
//    SysUserVO admin2sysUserVO(Admin admin);
//
//
//    //------------------------------------------------------
//    RoleSelectVO roles2selectvo(Role role);
//
//    List<RoleSelectVO> roles2selectvos(List<Role> role);
//    //------------------------------------------------------
//    RoleVO roles2vo(Role role);
//
//    List<RoleVO> roles2vos(List<Role> roles);
//    //------------------------------------------------------
//    OnePermissionVO permission2onevo(Permission permissions);
//
//    List<OnePermissionVO> permission2onevos(List<Permission> permissions);
//    //------------------------------------------------------
//    PermissionVO permission2vo(Permission permission);
//
//    List<PermissionVO> permission2vos(List<Permission> permissions);
}
